import kisti.lod.classification.FileFactory;

import com.hp.hpl.jena.query.Dataset;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.Statement;
import com.hp.hpl.jena.rdf.model.StmtIterator;
import com.hp.hpl.jena.tdb.TDBFactory;

public class BlankNodeTest {

	public static void main(String[] args) {
		Dataset ds = TDBFactory.createDataset(FileFactory
				.getTdbDomainFolder("technology"));
		Model model = ds.getDefaultModel();
		

		StmtIterator stmtIt = model.listStatements();
		if (stmtIt.hasNext()) {
			Statement stmt = stmtIt.next();
			System.out.println(stmt.asTriple().toString());
		}
	}
}
